package com.crm.service;

import java.util.List;

import com.crm.dao.TasksDao;
import com.crm.pojo.Tasks;
import com.crm.pojo.User;

public class TasksService {
	
	private TasksDao tasksDao;
	public List<Tasks> tasksList ;
	public List<Tasks> todayList ;
	public List<Tasks> threeDayList ;
	
	public List<Tasks> findListByUser(User user){
		return tasksDao.findListByUser(user);
	}

	public List<Tasks> findTodayList(User user){
		return tasksDao.findTodayList(user);
	}
	
	public List<Tasks> findThreeDayList(User user){
		return tasksDao.findThreeDayList(user);
	}
	//set&get
	public TasksDao getTasksDao() {
		return tasksDao;
	}

	public void setTasksDao(TasksDao tasksDao) {
		this.tasksDao = tasksDao;
	}

	public List<Tasks> getTasksList() {
		return tasksList;
	}

	public void setTasksList(List<Tasks> tasksList) {
		this.tasksList = tasksList;
	}

	public List<Tasks> getTodayList() {
		return todayList;
	}

	public void setTodayList(List<Tasks> todayList) {
		this.todayList = todayList;
	}

	public List<Tasks> getThreeDayList() {
		return threeDayList;
	}

	public void setThreeDayList(List<Tasks> threeDayList) {
		this.threeDayList = threeDayList;
	}
	
}
